Project

General

Profile

Actions

Feature #78999

closed

Add autocomplete attribute to TextfieldViewHelper

Added by Midhun Devasia over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
Start date:
2016-12-15
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

It would be nice if we could have the possibility to set the autocomplete attribute to the TextfieldViewHelper.

This attribute indicates whether the value of the input field can be automatically completed by the browser based on the user inputs to similar fields.

Possible values are:
off: The user must explicitly enter a value for every use. (Default)
on: The browser is allowed to automatically complete the value based on values that the user has entered during previous uses.

I made a patch related to this feature. Will push that commit, if this feature is relevant.


Files

Actions #1

Updated by Midhun Devasia over 7 years ago

off: The user must explicitly enter a value for every use. (Default)

sorry, no 'default' value

updated the commit message in the patch

Actions #2

Updated by Midhun Devasia over 7 years ago

  • File deleted (0001-FEATURE-Add-autocomplete-attribute-to-TextfieldViewH.patch)
Actions #3

Updated by Georg Ringer over 7 years ago

  • Status changed from New to Needs Feedback

THanks for creating the issue!

There is no reason to add any possible attribute to all ViewHelpers, as there is already a nice way:

<f:form.textfield additionalAttributes="{autocomplete:'1'}" />

Does that work for you?

Actions #4

Updated by Midhun Devasia over 7 years ago

Yes, I got it. It is working for me. I haven't noticed that `additionalAttributes` yet.

Thank you

Actions #5

Updated by Georg Ringer over 7 years ago

  • Status changed from Needs Feedback to Closed

closing this as there is a proper way to make this possible

Actions

Also available in: Atom PDF