Calven,
I checked the AjaxDatePicker component source (the .wo part) and otherTagString was passed to the input field.The otherTagString binding is present on many components, it is a string that is added inside the tag, it may contains anything even something like otherTagString = "required pattern = \"[0-9]{4}-[0-9]+-[0-9]+\"" when using the Foundation Abide plunging for form validation.
Samuel
Le 2016-01-11 à 12:05, Calven Eggert < email@hidden> a écrit :
That is Fantastic! how did you find out about the otherTagString?
Calven
On Jan 11, 2016, at 11:51 AM, Samuel Pelletier < email@hidden> wrote:
Hi Calven,
I found a way by setting the readonly attribute of the input. Ideally, the bonding would be available (I will create a pull request) but in the mean time, you can add this binding to do the same: otherTagString="readonly"
I discovered the readonly attribute lately, it is cool because it allows the content to be selected and copied when disabled, except in Safari, does not allows the selection and copy of an input field content.
Regards,
Samuel Le 2016-01-11 à 10:07, Calven Eggert < email@hidden> a écrit :
Anyone know of a way to disable the AjaxDatePicker so that input can only be done in the calendar that displays? (Basically, disable the WOTextField, but allow the onclick to get triggered)
Calven
Calven
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|