Lightroom SDK: Allow blank (or defaulting) numeric field types

  • 1
  • Idea
  • Updated 6 years ago
As it stands, a numeric edit-field can be nil to start with (blank), but if you ever enter a number, then it won't let you re-blanken it.

Put another way, it is sometimes useful to offer a numeric field that can be left blank to indicate "no thank you", but presently: if user ever enters a number, he/she will be stuck with it "forever".

Solution idea:
view option: default=...
If default is nil, then user can blanken, and perhaps equally important - if default is non-nil, then whenever user tries to blanken (or when blank initially), the default value will be inserted.

Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 386 Reply Likes

Posted 6 years ago

  • 1

Be the first to post a reply!