Disable user input in af:inputListOfValues in ADF

Sharing is Caring

Sometimes we need to disable user input in input Lov as there is the requirement of selecting value only from Lov popup

By default af:inputListOfValues provides the feature to select the value from the popup or type a value as input

Disable user input

To disable user input there is a property –EditMode
From Oracle Docs-

editMode String Yes Valid Values: input, select

the mode that controls how the user specifies a value. This attribute is only applicable when the ‘readOnly’ attribute is set to false.

  • input: this mode allows the user to type in a value as well as browse and select from a list of available values.
  • select: this mode allows the user only to browse and select from a list of available values.

Set its value to select

Cheers 🙂 Happy Learning

Related Posts

I’m an Oracle ACE, Blogger, Reviewer,
Technical Lead working on Oracle ADF

Leave a Reply

Your email address will not be published. Required fields are marked *