default key in assetTag user entry not populating #112

Closed
opened 2026-01-19 18:31:34 +00:00 by michael · 1 comment
Owner

Originally created by @fraserhess on GitHub.

I am trying to prepopulate a default value for assetTag during user entry in the 1.1beta. The value is not populating. Otherwise, the prompt is working fine: it has a placeholder value and the regex validates entries correctly.

Relevant portion of configuration:

<key>userEntry</key>
<dict>
	<key>assetTag</key>
	<dict>
		<key>default</key>
		<string>99998</string>
		<key>placeholder</key>
		<string>12345</string>
		<key>validation</key>
		<string>[1-9]\d{4}</string>
		<key>validationMessage</key>
		<string>A barcode number between 10000 and 99999</string>
	</dict>
</dict>
Originally created by @fraserhess on GitHub. I am trying to prepopulate a default value for `assetTag` during user entry in the 1.1beta. The value is not populating. Otherwise, the prompt is working fine: it has a placeholder value and the regex validates entries correctly. Relevant portion of configuration: ``` <key>userEntry</key> <dict> <key>assetTag</key> <dict> <key>default</key> <string>99998</string> <key>placeholder</key> <string>12345</string> <key>validation</key> <string>[1-9]\d{4}</string> <key>validationMessage</key> <string>A barcode number between 10000 and 99999</string> </dict> </dict> ```
michael added the bug label 2026-01-19 18:31:34 +00:00
Author
Owner

@scriptingosx commented on GitHub:

fixed in 1.1

@scriptingosx commented on GitHub: fixed in 1.1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jamf/Setup-Manager#112