Skip to content

Commit

Permalink
[SDPAP-8359] increase character limit for url field (#441)
Browse files Browse the repository at this point in the history
* [SDPAP-8359] increase character limit for urlfield

### Jira
[SDPAP-8359] Embed tool - increase character limit for URL field

### Change
simply increase #maxlength to 512, which should be enough.

* increases the maxlength to 1024
  • Loading branch information
vincent-gao authored Mar 22, 2024
1 parent d213316 commit 8abb168
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta
'#type' => 'url',
'#title' => $this->t('Url'),
'#default_value' => $this->configuration['url'],
'#maxlength' => 1024,
'#required' => TRUE,
];
$form['width'] = [
Expand Down

0 comments on commit 8abb168

Please sign in to comment.