{"action":"closed","issue":{"url":"https://api.github.com/repos/plataformatec/simple_form/issues/1329","labels_url":"https://api.github.com/repos/plataformatec/simple_form/issues/1329/labels{/name}","comments_url":"https://api.github.com/repos/plataformatec/simple_form/issues/1329/comments","events_url":"https://api.github.com/repos/plataformatec/simple_form/issues/1329/events","html_url":"https://github.com/plataformatec/simple_form/issues/1329","id":121062758,"number":1329,"title":"get form id withing custom input field definition","user":{"login":"knagode","id":4473199,"avatar_url":"https://avatars.githubusercontent.com/u/4473199?v=3","gravatar_id":"","url":"https://api.github.com/users/knagode","html_url":"https://github.com/knagode","followers_url":"https://api.github.com/users/knagode/followers","following_url":"https://api.github.com/users/knagode/following{/other_user}","gists_url":"https://api.github.com/users/knagode/gists{/gist_id}","starred_url":"https://api.github.com/users/knagode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knagode/subscriptions","organizations_url":"https://api.github.com/users/knagode/orgs","repos_url":"https://api.github.com/users/knagode/repos","events_url":"https://api.github.com/users/knagode/events{/privacy}","received_events_url":"https://api.github.com/users/knagode/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-08T17:55:04Z","updated_at":"2015-12-08T18:48:19Z","closed_at":"2015-12-08T18:48:19Z","body":"In custom input field I would like to get a reference to the table (id attribute of form element).  Is this possible?\r\n\r\n    class DistanceInput < SimpleForm::Inputs::StringInput\r\n      def input\r\n        textfield_id = input_html_options[:id]\r\n        form_id = ????????\r\n        ...\r\n      end\r\n    end"}}