Skip to content

Conversation

vasike
Copy link

@vasike vasike commented Nov 14, 2024

Update SanitizeUserFieldsCommands.php

Update SanitizeUserFieldsCommands.php
Comment on lines 71 to 72
$value_array = $field_type_class::generateSampleValue($def);
$value = $value_array['value'];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should generate a value that respects max/min and such. No need to hard code a value.

@weitzman
Copy link
Member

weitzman commented Jan 4, 2025

Lets please work on the13.x branch, and then backport if desired.

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

Successfully merging this pull request may close these issues.

2 participants