Skip to content

feat(locale-field-populator): default recursion depth to 5 with numeric input [ES-183]#10972

Open
Adrian Meyer (primeinteger) wants to merge 1 commit into
masterfrom
ES-183/recursion-depth
Open

feat(locale-field-populator): default recursion depth to 5 with numeric input [ES-183]#10972
Adrian Meyer (primeinteger) wants to merge 1 commit into
masterfrom
ES-183/recursion-depth

Conversation

@primeinteger
Copy link
Copy Markdown
Contributor

Purpose

Make the recursion depth control more flexible by raising the default to 5 and letting users pick any value from 1 to 10 instead of a fixed dropdown.

Approach

  • Replaced the Select with a numeric TextInput (min 0, max 10, step 1) so users can choose any depth in the supported range.
  • Bumped MAX_REFERENCE_DEPTH from 3 to 5 -- new installs and unset configs now default to a deeper traversal.
  • Added MIN_REFERENCE_DEPTH_OPTION / MAX_REFERENCE_DEPTH_OPTION constants and clamp/truncate input on change to keep stored values within bounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant