• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Disable WOTextField Input when using AjaxDatePicker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disable WOTextField Input when using AjaxDatePicker


  • Subject: Re: Disable WOTextField Input when using AjaxDatePicker
  • From: Samuel Pelletier <email@hidden>
  • Date: Mon, 11 Jan 2016 18:57:55 -0500

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
References: 
 >Disable WOTextField Input when using AjaxDatePicker (From: Calven Eggert <email@hidden>)
 >Re: Disable WOTextField Input when using AjaxDatePicker (From: Samuel Pelletier <email@hidden>)
 >Re: Disable WOTextField Input when using AjaxDatePicker (From: Calven Eggert <email@hidden>)

  • Prev by Date: Re: Disable WOTextField Input when using AjaxDatePicker
  • Next by Date: when is derived column resolved
  • Previous by thread: Re: Disable WOTextField Input when using AjaxDatePicker
  • Next by thread: when is derived column resolved
  • Index(es):
    • Date
    • Thread