Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice of undefined index on using prepend for inputs #370

Closed
1 of 3 tasks
umer936 opened this issue Apr 27, 2022 · 0 comments · Fixed by #372
Closed
1 of 3 tasks

Notice of undefined index on using prepend for inputs #370

umer936 opened this issue Apr 27, 2022 · 0 comments · Fixed by #372

Comments

@umer936
Copy link
Contributor

umer936 commented Apr 27, 2022

This is a (multiple allowed):

  • bug

  • enhancement

  • feature-discussion (RFC)

  • BootstrapUI Version: 4.0.0.

  • Bootstrap Framework Version: 5.1.3

  • jQuery: N/A

  • Platform and Target: N/A (apache on Linux, Firefox web browser)

What you did

Attempted to use a prepend on an input:

<?php echo $this->Form->input('q1', ['prepend' => 'q1', 'size' => '30', 'value' => $q1]); ?>

Expected Behavior

Echos input field with prepend.

Actual Behavior

Echos input field with prepend, but has a notice of an undefined lookup.
image

I will be submitting a PR to fix shortly.

umer936 added a commit to umer936/bootstrap-ui that referenced this issue Apr 27, 2022
ndm2 pushed a commit to umer936/bootstrap-ui that referenced this issue May 16, 2022
@ndm2 ndm2 closed this as completed in #372 May 18, 2022
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 a pull request may close this issue.

1 participant