You are viewing limited content. For full access, please sign in.

Question

Question

Help with Weblink Custom Search Date Picker

asked on January 11, 2021 Show version history

I've designed a custom search page, but the date picker for the date fields won't display the year properly.  It gets cut off on the most important part!

I've tried increasing the input size, but that doesn't do anything for the date picker.

 

The other problem I'm having with the date picker is the stupid auto-complete dropping "helpful" suggestions right in the way of the date picker.  I have had some success getting this out of the way with javascript, but I don't know how I can add that effect to the search page.  Anyone know?

 

Thanks for your help!

 

0 0

Answer

SELECTED ANSWER
replied on January 11, 2021

Hi Sean,

For the date picker, it should suffice to add this rule to styles.css:

.ui-datepicker select.ui-datepicker-year {
    min-width: 70px;
}

For the auto-complete, as far as I know, that can only be controlled by the browser and not by the application.

1 0
replied on January 12, 2021

Thanks Melanie.  I assume the style.css file is on the server?  I ask because I don't have direct access to our servers, and would need to get another team member on it.

1 0
replied on January 12, 2021

Sean

Yes, the styles.css file is on the WebLink server in the Web Files folder (where IIS points to for the site).

2 0
replied on October 28, 2021 Show version history

I added the recommended line to the style.css file but nothing changed. Is there anything else I should be doing to effect the change? Thanks.

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.